package com.zsk.shop.enums;

/**
 * 订单返回值参数定义
 * @author Ys
 * @date 2021/3/2 17:59
 * @return
 */
public enum EnumOrderInfo {
    ALI_WAIT_BUYER_PAY("WAIT_BUYER_PAY", "交易创建，等待买家付款"),
    ALI_TRADE_SUCCESS("TRADE_SUCCESS", "交易支付成功"),
    ALI_TRADE_CLOSED("TRADE_CLOSED", "未付款交易超时关闭，或支付完成后全额退款"),
    ALI_TRADE_FINISHED("TRADE_FINISHED", "交易结束，不可退款"),
    ;
    String name;
    String value;

    EnumOrderInfo(String name, String value){
        this.name = name;
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
